﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="PassSelf.aspx.cs" Inherits="AMS.Web.BackStageManagement.PassSelf" %>


<%@ Register Assembly="ZLTextBox" Namespace="BaseText" TagPrefix="cc1" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title></title>
    <link href="../App_Themes/Default/Body.css" type="text/css" rel="stylesheet" />
    <link href="../App_Themes/Default/Button.css" type="text/css" rel="stylesheet" />
    <link href="../App_Themes/Default/Footer.css" type="text/css" rel="stylesheet" />
    <link href="../App_Themes/Default/Header.css" type="text/css" rel="stylesheet" />
    <link href="../App_Themes/Default/Img.css" type="text/css" rel="stylesheet" />
    <link href="../App_Themes/Default/Menu.css" type="text/css" rel="stylesheet" />
    <link href="../App_Themes/Default/subModal.css" type="text/css" rel="stylesheet" />
    <link href="../App_Themes/Default/Table.css" type="text/css" rel="stylesheet" />
    <link href="../App_Themes/Default/Text.css" type="text/css" rel="stylesheet" />
    <link href="../ScriptFiles/CSS/Main.css" type="text/css" rel="stylesheet" />
     <base target="_self">
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <div class="tableMain">
            <div class="tableSpaceBorder">
                <table style="border: 1px solid #A8CFEB; background-color: #F1F6FF; margin-top: 4px;">
                    <tr>
                        <td colspan="3" align="left">
                            <font style="color: Black">您当前位置：首页&nbsp;<img src="../Images/navigate.gif" alt="" />&nbsp;密码修改</font>
                        </td>
                    </tr>
                    <tr align="center">
                        <td colspan="3" align="center">
                            
                                
                        </td>
                    </tr>
                </table>
                <table style="border: 1px solid #A8CFEB; margin-top: 4px;">
                    <tr>
                        
                        <td style="text-align: right; width: 170px; height: 30px" class="tableBg1">
                            <asp:Label ID="Label2" runat="server" Font-Size="12px" Text="用户名："></asp:Label>
                        </td>
                        <td class="tableBg2" style="text-align: left">
                            <cc1:ZLTextBox ID="ZLTextBox_AdminName" runat="server" InputType="varchars" MaxLength="100"
                                onblurCssName="textBase" onfocusCssName="textBaseFocus" CssClass="textBase" Height="20px"
                                Width="180px"></cc1:ZLTextBox>
                            <asp:RequiredFieldValidator ID="RequiredFieldValidator_AdminName" runat="server"
                                Display="Dynamic" ControlToValidate="ZLTextBox_AdminName" ErrorMessage="*"></asp:RequiredFieldValidator>
                            <asp:RegularExpressionValidator ID="RegularExpressionValidator_AdminName" runat="server"
                                Display="Dynamic" ValidationExpression="^[A-Za-z0-9]+$" ErrorMessage="数字或字母！"
                                ControlToValidate="ZLTextBox_AdminName"></asp:RegularExpressionValidator>
                        </td>
                    </tr>
                    <tr>
                       
                        <td style="text-align: right; width: 170px; height: 30px" class="tableBg1">
                            <asp:Label ID="lblName" runat="server" Font-Size="12px" Text="真实姓名："></asp:Label>
                        </td>
                        <td class="tableBg2" style="text-align: left">
                            <cc1:ZLTextBox ID="ZLTextBox_AdminRealName" runat="server" InputType="varchars" onblurCssName="textBase"
                                onfocusCssName="textBaseFocus" CssClass="textBase" MaxLength="200" Height="20px"
                                Width="180px"></cc1:ZLTextBox>
                            <asp:RequiredFieldValidator ID="RequiredFieldValidator_AdminRealName" runat="server"
                                Display="Dynamic" ControlToValidate="ZLTextBox_AdminRealName" ErrorMessage="*"></asp:RequiredFieldValidator>
                        </td>
                    </tr>
                     <tr>
                         
                        <td style="text-align: right; width: 170px; height: 30px" class="tableBg1">
                            <asp:Label ID="lblNewPassword" runat="server" Font-Size="12px" Text="新密码："></asp:Label>
                        </td>
                        <td class="tableBg2" style="text-align: left">
                            <cc1:ZLTextBox ID="ZLTextBox_AdminPass" runat="server" InputType="varchars" MaxLength="100"
                                onblurCssName="textBase" onfocusCssName="textBaseFocus" CssClass="textBase" Height="20px"
                                Width="180px" TextMode="Password"></cc1:ZLTextBox>
                            <asp:RequiredFieldValidator ID="RequiredFieldValidator_AdminPass" runat="server"
                                Display="Dynamic" ControlToValidate="ZLTextBox_AdminPass" ErrorMessage="*"></asp:RequiredFieldValidator>
                            <asp:RegularExpressionValidator ID="RegularExpressionValidator_AdminPass" runat="server"
                                Display="Dynamic" ValidationExpression=".{1,15}$" ErrorMessage="1-15位字符！" ControlToValidate="ZLTextBox_AdminPass" />
                        </td>
                    </tr>
                    <tr>
                        
                        <td style="text-align: right; width: 170px; height: 30px" class="tableBg1">
                            <asp:Label ID="lblPasswordConfirm" runat="server" Font-Size="12px" Text="再输入一次密码："></asp:Label>
                        </td>
                        <td class="tableBg2" style="text-align: left">
                            <cc1:ZLTextBox ID="ZLTextBox_AdminPassAgain" runat="server" InputType="varchars"
                                MaxLength="100" onblurCssName="textBase" onfocusCssName="textBaseFocus" CssClass="textBase"
                                Height="20px" Width="180px" TextMode="Password"></cc1:ZLTextBox>
                            <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" Display="Dynamic"
                                ControlToValidate="ZLTextBox_AdminPassAgain" ErrorMessage="*"></asp:RequiredFieldValidator>
                            <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" Display="Dynamic"
                                ValidationExpression=".{1,15}$" ErrorMessage="1-15位字符！" ControlToValidate="ZLTextBox_AdminPassAgain" />
                            <asp:CompareValidator ID="CompareValidator_AdminPassAgain" runat="server" ControlToCompare="ZLTextBox_AdminPass"
                                ControlToValidate="ZLTextBox_AdminPassAgain" ErrorMessage="密码两次输入不一致！"></asp:CompareValidator>
                        </td>
                    </tr>
                     <tr>
                      <td></td>
                        <td  align="left">&nbsp;&nbsp;
                             <asp:Button ID="btnSubmit"  runat="server" Text="提交" class="btn_mouseout"  
                                onmouseover="this.className= 'btn_mouseover ' " onmouseout="this.className= 'btn_mouseout ' "
                                onmousedown="this.className= 'btn_mousedown '" 
                                onmouseup="this.className= 'btn_mouseup '" onclick="btnSubmit_Click" 
                                />&nbsp;&nbsp;
                                <asp:Button ID="btnCancel" runat="server" Text="返回" CausesValidation="false"   class="btn_mouseout"
                                 onmouseover="this.className= 'btn_mouseover ' " onmouseout="this.className= 'btn_mouseout ' "
                                onmousedown="this.className= 'btn_mousedown '" 
                                onmouseup="this.className= 'btn_mouseup '" onclick="btnCancel_Click"/>
                        </td>
                    </tr>
                    
                </table>
            </div>
            <br />
            <br />
            <br />
        </div>
    </div>
    </form>
</body>
</html>
